package com.nervenets.template.hibernate.domain.common;

import com.nervenets.general.hibernate.TreeDomainObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

import javax.persistence.Entity;
import javax.persistence.Table;

@ApiModel("城市表")
@Entity
@Table
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class City extends TreeDomainObject<City> {
    @ApiModelProperty("城市代码")
    private int code;
}
